package com.bootdo.common.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.common.dao.CommonImageDao;
import com.bootdo.common.domain.CommonImageDO;
import com.bootdo.common.service.CommonImageService;



@Service
public class CommonImageServiceImpl implements CommonImageService {
	@Autowired
	private CommonImageDao commonImageDao;
	
	@Override
	public CommonImageDO get(Long id){
		return commonImageDao.get(id);
	}
	
	@Override
	public List<CommonImageDO> list(Map<String, Object> map){
		return commonImageDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return commonImageDao.count(map);
	}
	
	@Override
	public int save(CommonImageDO commonImage){
		return commonImageDao.save(commonImage);
	}
	
	@Override
	public int update(CommonImageDO commonImage){
		return commonImageDao.update(commonImage);
	}
	
	@Override
	public int remove(Long id){
		return commonImageDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return commonImageDao.batchRemove(ids);
	}
	
}
